widget: Optimize resize propagation
authorMatthias Clasen <mclasen@redhat.com>
Sat, 4 May 2019 18:12:45 +0000 (18:12 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 28 May 2019 20:25:15 +0000 (20:25 +0000)
commitf3559fe0f0442b4ef1e7a207ae847c52d2b3b804
tree542e1c2b0e0a5691ec8ad3ab1ecc6bbf2b01fbfe
parent27596c328a3687af21001b1eb1c582c8fc75b901
widget: Optimize resize propagation

When a GtkNative widget is marked as resize_needed,
we need a current position for its parent and we need
the parent to be allocated (so we can position our
surface), but we don't need the parent to be marked
as resize_needed, since the parent size is entirely
independent of the popup size.
gtk/gtkwidget.c